package com.easyedu.core.entity;

/**
 * @author   linxi
 * @date     2022/3/20
 * @describe errorCode 范围 5000 ~ 6000
 */
public enum CacheError implements EasyEduError {

     ERR_INSERT_CACHE(5000, "向缓存插入数据失败");

     private int    code;
     private String msg;

     CacheError(int code, String msg) {
          this.code = code;
          this.msg = msg;
     }

     public int getCode() {
          return code;
     }

     public String getMsg() {
          return msg;
     }
}
